package zt.song.controller;

import org.springframework.security.access.annotation.Secured;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author 宋伟宁
 * @Date 2023/11/18
 * @Version 1.0
 **/

@Controller
@RequestMapping("/admin")
//@Secured("ROLE_admin")
public class AdminController {

    @GetMapping("/a")
    public String admin_a(){
        return "admin_a";
    }
    @GetMapping("/b")
    public String admin_b(){
        return "admin_b";
    }
}
